/**
 * Created by dllo on 3/30/18.
 */
public class Question02 {

    // 100000元,每天花一半多少天花完

    public static void main(String[] args) {

        int day = 0;
        int money = 100000;

        while (money > 0) {  // 到没钱停止
            day++;             //经过的天数
            money = money / 2; // 每天花一半
        }
        System.out.println(day);
    }
}
